import request from './request.js'

export function getSMScode (data) {
  return request({
    url: '/sendsms',
    method: 'post',
    data
  })
}

export function register (data) {
  return request({
    url: '/register',
    method: 'post',
    data
  })
}
